package com.sc.entity;


import com.sc.entity.single.Config;

/**
 * @Author: Sunk 673116067@qq.com
 * @Date: 2018/5/18 9:55
 * @Description:抽取img公共方法
 */
public class ImageBase {


    protected String productImg;



    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg;
    }

    public String  getProductImgVO(){
        if(productImg!=null) {
            return  Config.getInstance().getImgUrl() + "/" + productImg;
        }else
            return null;
    }
}
